<!DOCTYPE html>
<html>


<!-- Mirrored from www.zi-han.net/theme/hplus/chat_view.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:19:48 GMT -->
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title><?php echo $web_title ?></title>
	<meta name="keywords" content="<?php echo $web_keywords ?>">
	<meta name="description" content="<?php echo $web_description ?>">
    <link rel="shortcut icon" href="favicon.ico"> 
	<link href="statics/base/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="statics/base/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="statics/base/css/plugins/jsTree/style.min.css" rel="stylesheet">
    <link href="statics/base/css/animate.min.css" rel="stylesheet">
    <link href="statics/base/css/style.min862f.css?v=4.1.0" rel="stylesheet">

</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content  animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox chat-view">
					<div class="input-group" style="display:none">
						<input type="text" placeholder="机器人ID" class="input form-control" id="bot_id" value="<?php echo $bot_id ?>" >
						<span class="input-group-btn"> <button type="button" class="btn btn-primary" onclick="showmsg()">showmsg</button> </span>
                    </div>
                    <div class="ibox-title">
                        <small class="pull-right text-muted">最新消息：2015-02-02 18:39:23</small> 聊天窗口
                    </div>
                    <div class="ibox-content">
                        <div class="row">
                            <div class="col-md-9 ">
                                <div class="chat-discussion-diy" id="showmsg" style="overflow-y: auto;padding: 15px;background: #eee;height: 400px;">
									
                                </div>
                            </div>						
							<div class="col-md-3">
								<div class="chat-users">
									<div class="panel-options">
			
										<ul class="nav nav-tabs">
											<li class="active"><a data-toggle="tab" href="#tab-1" aria-expanded="false"><i class="fa fa-user"></i></a></li>
											<li class=""><a data-toggle="tab" href="#tab-2" aria-expanded="false"><i class="fa fa-users"></i></a></li>
											<li class=""><a data-toggle="tab" href="#tab-3" aria-expanded="false"><i class="fa fa-wechat"></i></a></li>
										</ul>
									</div>
									<div class="tab-content">
										<div id="tab-1" class="tab-pane active">
												<div class="users-list" id="chat_get_friend">
													//好友列表
												</div>
										</div>
			
										<div id="tab-2" class="tab-pane">
												<div class="users-list" id="chat_get_group">
													//群组列表
												</div>
										</div>
										<div id="tab-3" class="tab-pane">
												<div class="users-list" id="chat_get_category">
													//公众号列表
												</div>
										</div>
									</div>
								</div>
							</div>	
                        </div>
                        <div class="row">
                            <div class="col-sm-12">
                                <div class="chat-message-form">
									<div class="input-group">
										<span class="input-group-btn"><button type="button" class="btn btn-sm btn-primary"> 发送对象：</button> </span>
										<input type="text" class="input-sm form-control" id="sendmsgobjname" disabled>
										<input type="hidden" class="input-sm form-control" id="sendmsgobjid" disabled>
										<span class="input-group-btn"><button type="button" class="btn btn-sm btn-info" onclick="clearsendobj()"> 清除对象 </button> </span>
										<span class="input-group-btn"><button type="button" class="btn btn-sm btn-success" id="sendmodeltext" onclick="sendmodelset()"> 模式切换：单发模式 </button> </span>
										<input type="hidden" class="input-sm form-control" id="sendmodelnow" value="one" disabled>
									</div>
									<div class="form-group">
										<textarea class="form-control message-input" name="message" placeholder="输入消息内容，按回车键发送" id="sendmsgbody"></textarea>
									</div>
									<div class="input-group">
                                        <input type="text" class="form-control" id="sendmsg_do"> 
										<span class="input-group-btn"> <button type="button" class="btn btn-primary" onclick="sendmsg()">发送</button> </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script src="statics/base/js/jquery.min.js?v=2.1.4"></script>
    <script src="statics/base/js/bootstrap.min.js?v=3.3.6"></script>
	<link href="statics/base/css/plugins/toastr/toastr.min.css" rel="stylesheet">
	<script src="statics/base/js/plugins/toastr/toastr.min.js"></script>
	<script src="statics/base/js/plugins/layer/layer.min.js"></script>
	<script src="public/bot/statics/chat_bot_main.js"></script>
	<script>
		setInterval("showmsg()","3000");
		//监听键盘按下回车之后执行
		document.onkeydown=function(event){
            var e = event || window.event || arguments.callee.caller.arguments[0];        
             if(e && e.keyCode==13){ // enter 键
				e.preventDefault();
				sendmsg();
            }
        }; 
	</script>
</body>


<!-- Mirrored from www.zi-han.net/theme/hplus/chat_view.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:19:48 GMT -->
</html>
